<style type="text/css">
<!--
    div.zone { border: none; border-radius: 1mm; background: #e9e9e9; border-collapse: collapse;padding:1mm;}
    h1 { padding: 0; margin: 0; color: #DD0000;}
    h2 { padding: 0; margin: 0; color: #222222; font-size: 5mm; position: relative; }
    h3 { padding: 0; margin: 0; color: #DD0000; font-size: 5mm;}
-->
</style>
<!--118X240-->
<page format="130x250" orientation="L" backcolor="#e9e9e9" style="font: arial;color:green;">
<table style="width:242mm;height:120mm;border:3px dotted green;margin-top:4mm;margin-left:4mm;">
    <tr><td>
    <table style="width: 90%;border: none;margin-left:20mm;margin-top:2mm" cellspacing="4mm" cellpadding="0">
        <tr>
            <td align="center" colspan="2">
                <table style="border-bottom:4px double green;color:green;align:center;margin：0 auto;position: relative;left:25%;font-size:6mm" cellspacing="1" cellpadding="0">
                    <tr>
                        <td>重庆广播电视大学</td>
                        <td rowspan="2">质量工程项目报账单</td>
                    </tr>
                    <tr>
                        <td>重庆工商职业学院</td>
                        <td></td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr style="height:5mm">
            <td align="center" colspan="2"><?=date("Y年m月d日",time())?></td>
        </tr>
        <tr>
            <td style="width:186mm;height:66mm;">
                <table style="width:186mm;height:66mm;border:1px solid green;position: relative;left:10mm;font-size:3mm">
                    <tr>
                        <td style="border-bottom:1px solid green;border-right:1px solid green;width:117mm;height:15mm">
                            <div class="zone" style="width:100%;text-align: justify">
                                <b>预算项目：</b>《<?php echo $project['name']; ?>》
                            </div>
                            <div class="zone" style="width:100%;text-align: justify">
                                <b>项目类型：</b><?php echo $fund_pre[$project['type']] ?>——<?php echo $qlty_rank[$project['rank']].$qlty_category[$project['category']] ?>
                            </div>
                        </td>
                        <td style="border-bottom:1px solid green;border-right:1px solid green;width:32mm;height:15mm">
                            <b>总经费：<?php echo ($project['apply_funds']*10000).".00元";?></b><br><br>
                            <b>余额(除此单)：<?php echo number_format($unsubmit_fund,2); ?></b>
                        </td>
                        <td style="width:37mm;height:15mm" align="left" valign="top">校领导批示</td>
                    </tr>
                    <tr>
                        <td style="border-bottom:1px solid green;border-right:1px solid green;width:117mm;height:32mm">
                            <div class="zone" style="height: 30mm;vertical-align: middle; text-align: justify">
                                <b>报销理由：</b><br>
                                <div style="width:90%;height:25mm;vertical-align:middle;text-align:center;">
                                    <?php
                                    echo html2pdf_word_wrap($fund_content,31);
                                    ?>
                                </div>
                            </div>
                        </td>
                        <td style="border-bottom:1px solid green;border-right:1px solid green;width:32mm;height:32mm" align="center" valign="center">
                            <div class="zone" style="height: 30mm;vertical-align: middle;text-align: center;">
                                <qrcode value="<?php echo $qrcode; ?>" ec="H" style="width: 30mm; border: none;" ></qrcode>
                            </div>
                        </td>
                        <td valign="bottom" style="border-bottom:1px solid green;width:37mm;height:32mm">
                            <div class="zone" style="width:100%;height: 28mm;vertical-align: bottom;text-align: right;letter-spacing:5mm;">_______年______月______日
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td style="border-right:1px solid green;width:149mm;height:15mm;" colspan="2" valign="middle">
                            <table style="width:149mm;height:15mm;border:none">
                                <tr style="width:149mm">
                                    <td style="width:70mm">
                                        <div class="zone" style="width:100%;text-align: center;font-size:5mm">
                                            <b>大写金额:<?php echo num2rmb($fund_num);?></b>
                                        </div>
                                    </td>
                                    <td style="width:45mm;font-size:8mm" align="right">
                                        <div class="zone" style="width:100%;text-align: right;font-size:5mm">
                                            <b>小写金额：￥<?=number_format($fund_num,2)?></b>
                                        </div>
                                    </td>
                                </tr>
                            </table>
                        </td>
                        <td style="width:36mm;height:15mm" align="left" valign="top">
                            <div style="width:35mm;height:11mm">
                                财务处意见
                            </div>
                            <div style="width:35mm;height:4mm;text-align:right;">
                                _______年______月______日
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
            <td style="10mm" align="center">
                <br><br>附<br>单<br>据<br><br><br><br>张<br>
            </td>
        </tr>
        <tr>
            <td align="center" style="width:186mm;">
                <table style="width:170mm;height:15mm;position: relative;left:10mm;margin：0 auto;" cellspacing="0" cellpadding="0">
                    <tr >
                        <td style="width:40mm">单位主管：</td>
                        <td style="width:40mm">会计：</td>
                        <td style="width:40mm">出纳：</td>
                        <td style="width:50mm">收款人/经办人：</td>
                    </tr>
                </table>
            </td>
            <td></td>
        </tr>
    </table>
    <div style="position: absolute; left: 35mm; bottom: 1mm; text-align:center; font-size: 2mm; ">
                    *注：NO<?=$fundid?>.若此单报销失败或被误操作请尽快携此单到项目管理科办公室处理。打印请原始尺寸，<B>不勾选打印机的适应页面大小</B>
    </div>

    </td></tr>
</table>

</page>